<template>
  <div class="home-header">
    <van-icon @click="$router.push('/cate')" name="fenlei" size="30" class-prefix="icon"></van-icon>
    <div class="header-right">
      <img src="../../../assets/imgs/logo.png" alt="">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.home-header{
  width: 10rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  .icon {
    margin: 0 5px;
  }
  .header-right{
    text-align: center;
    flex: 1;
    img{
      width: 4rem;
    }
  }
}
</style>
